<script type="text/javascript" src="${base}/scripts/xsgl/xsdtzcontent.js"></script>
<form id="xsdtzForm" method="post" class="easyui-tabs" fit="true">
<#--<input type="hidden" id="xsd_zgjgId" value="${(gsId)!}"/>-->
<#--<input type="hidden" id="xsd_zggsId" value="${(zggsId)!}"/>-->
<#--<input type="hidden" id="xsd_lj_sl" value="${(xsd.lj.sl)!}"/>-->
<#--<input type="hidden" id="xsd_xsdh" value="${(xsd.xsdh)!}"/>-->
<#--<input type="hidden" id="xsd_ewmtime" value="${(ewmtime)!}"/>-->
    <input type="hidden" name="xsd.id" value="${(xsd.id)!}"/>
<#--<input type="hidden" id="xsd_ll"/>-->

    <div title="销售信息" style="height: 100%;overflow-y: auto">
        <table style="width:98%" class="tb tab-t t-bor">
            <col width="70px"/>
            <col width=""/>
            <col width="70px"/>
            <col width=""/>
            <col width="70px"/>
            <col width=""/>
            <tr style="height: 10px;"></tr>
            <tr>
                <th>路&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;径：</th>
                <td colspan="5">
                ${(xsd.lj.mc)!}
                </td>
            </tr>
            <tr>
                <th>销售合同：</th>
                <td style="font-weight: bold">
                ${(xsd.xsht.htbm)!}
                </td>
            </tr>
            <tr>
                <th>销售类型：</th>
                <td>
                    <input type="hidden" name="xsd.xslx" value="<#if xsd??>${(xsd.xslx)!}<#else>${xslx}</#if>"/>
                <#if xsd??><#if xsd.xslx=='htxs'>合同销售<#elseif xsd.xslx=='zddh'>直达到货<#elseif xsd.xslx=='bgxs'>保供销售<#else>
                    库存零售</#if></#if>
                </td>

                <th>客&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;户：</th>
                <td>
                ${(xsd.kh.jc)!}
                </td>
            </tr>
            <tr>
                <th>工&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;程：</th>
                <td>
                ${(xsd.gc.qc)!}
                </td>
                <th>提货仓库：</th>
                <td>
                ${(xsd.thck.qc)!}
                </td>
                <th>开单日期：</th>
                <td>
                <#if xsd??>${(xsd.sxsj?date)!}<#else>${startDate?date}</#if>
                </td>
            </tr>
            <tr>
                <th>计划发货：</th>
                <td>
                <#if xsd??>${(xsd.fhsj?date)!}<#else>${startDate?date}</#if>
                </td>
                <th>税&nbsp;率(%)：</th>
                <td>
                <#if xsd??>${(xsd.sl?string("0.0000") )!}<#else>17.0000</#if>
                </td>
            </tr>
            <tr>
                <th>发运责任：</th>
                <td>
                ${(xsd.fyzr.z)!}
                </td>
                <th>代收费用：</th>
                <td>
                ${(xsd.dsyfje)!}
                </td>
                <th>提&nbsp;货&nbsp;&nbsp;人：</th>
                <td>
                ${(xsd.thr)!}
                </td>
            </tr>
            <tr>
                <th>交货时间：</th>
                <td>
                <#if xsd??>${(xsd.jhsj?date)!}<#else>${datetime?date}</#if>
                </td>
                <th>送货地址：</th>
                <td colspan="3">
                ${(xsd.jhdz)!}
                </td>

            </tr>
            <tr>
                <th>收&nbsp;货&nbsp;&nbsp;人：</th>
                <td>
                ${(xsd.shry)!}
                </td>
                <th>联系电话：</th>
                <td>
                ${(xsd.shrdh)!}
                </td>
                <th>交货要求：</th>
                <td>
                ${(xsd.jhyq)!}
                </td>
            </tr>
            <tr>
                <th>申报公司：</th>
                <td>
                <#if xsd??>${(xsd.sbgs.jc)!}<#else>${(yg.zggs.jc)!}</#if>
                </td>
                <th>申报部门：</th>
                <td>
                <#if xsd??>${(xsd.sbbm.qc)!}<#else>${(yg.zgjg.qc)!}</#if>
                </td>
                <th>申&nbsp;报&nbsp;&nbsp;人：</th>
                <td>
                <#if xsd??>${(xsd.sbr.xm)!}<#else>${(yg.xm)!}</#if>
                </td>
            </tr>
            <tr>
                <th>销售公司：</th>
                <td>
                <#if xsd??>${(xsd.xsgs.jc)!}<#else>${(yg.zggs.jc)!}</#if>
                </td>
                <th>协办公司：</th>
                <td>
                ${(xsd.xbgs.jc)!}
                </td>
                <th>协办部门：</th>
                <td>
                ${(xsd.xbbm.jc)!}
                </td>
            </tr>
            <tr>
                <th>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</th>
                <td colspan="5">
                ${(xsd.bz)!}
                </td>
            </tr>
        </table>
    </div>
    <div title="销售明细">
        <table id="xsdtz_mx">
        </table>
    </div>
    <div title="费用明细">
        <table id="xsdtz_fy">
        </table>
    </div>

</form>